/*
 * velocity.h
 *
 *  Created on: May 23, 2021
 *      Author: kirk_
 */

#ifndef VELOCITY_H_
#define VELOCITY_H_

#include "config.h"

#define Velocity_Inc_Limit ((float)0.8)

void VelocityInit(void* argument);

void VelocitySetTarget(int index, float target);
void VelocityIncTarget(int index, float inc);
float VelocityConvert(int32_t velocity);
void VelocityDownlink(KD_FloatPID_t* pid);

#endif /* VELOCITY_H_ */
